package com.skyc.service.impl;

import java.util.List;

import com.skyc.dao.liuLanDao;
import com.skyc.dao.impl.liuLanDaolmpl;
import com.skyc.entity.Clothes;
import com.skyc.service.liuLanService;

public class liulanServiceImpl implements liuLanService{
	liuLanDao liulan=new liuLanDaolmpl();
	@Override
	public List<Clothes> BKqueryByID() {
		return liulan.BKqueryByID();
	}

	@Override
	public List<Clothes> NZqueryByID(String csex) {
		return liulan.NZqueryByID(csex);
	}

	@Override
	public boolean addhistory(int uid,int ccid) {
		if(!" ".equals(uid)) {
			return liulan.addhistory(uid,ccid);
		}
		return false;
	}

	@Override
	public List<Clothes> queryAll(String str) {
		if(str.length()>0) {
			
		return liulan.queryAll(str);
	}
		return null;
	}

	@Override
	public List<Clothes> queryByType(String csex, String ctype) {
		
		return liulan.queryByType(csex, ctype);
	}

}
